using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class BsOrderdetailTable : TableInfo
{
public const string C_TABLENAME = "Bs_Orderdetail";

public const string C_ORDERDETAILID = "ORDERDETAILID";

public const string C_ORDERID = "ORDERID";

public const string C_ORDERNUM = "ORDERNUM";

public const string C_PRODUCTID = "PRODUCTID";

public const string C_CUSTOMERPARTNO = "CUSTOMERPARTNO";

public const string C_NUMS = "NUMS";

public const string C_PRICE = "PRICE";

public const string C_RMBPRICE = "RMBPRICE";

public const string C_AMOUNT = "AMOUNT";

public const string C_TAXAMOUNT = "TAXAMOUNT";

public const string C_WORKORDERNO = "WORKORDERNO";

public const string C_ISFINISH = "ISFINISH";

public BsOrderdetailTable()
{
_tableName = "Bs_Orderdetail";
}

protected static BsOrderdetailTable _current;
public static BsOrderdetailTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new BsOrderdetailTable();

_current.Add(C_ORDERDETAILID, new ColumnInfo(C_ORDERDETAILID, "", true, typeof(Decimal?)));

_current.Add(C_ORDERID, new ColumnInfo(C_ORDERID, "", false, typeof(String)));

_current.Add(C_ORDERNUM, new ColumnInfo(C_ORDERNUM, "", false, typeof(Decimal?)));

_current.Add(C_PRODUCTID, new ColumnInfo(C_PRODUCTID, "", false, typeof(String)));

_current.Add(C_CUSTOMERPARTNO, new ColumnInfo(C_CUSTOMERPARTNO, "", false, typeof(String)));

_current.Add(C_NUMS, new ColumnInfo(C_NUMS, "", false, typeof(Decimal?)));

_current.Add(C_PRICE, new ColumnInfo(C_PRICE, "", false, typeof(Decimal?)));

_current.Add(C_RMBPRICE, new ColumnInfo(C_RMBPRICE, "", false, typeof(Decimal?)));

_current.Add(C_AMOUNT, new ColumnInfo(C_AMOUNT, "", false, typeof(Decimal?)));

_current.Add(C_TAXAMOUNT, new ColumnInfo(C_TAXAMOUNT, "", false, typeof(Decimal?)));

_current.Add(C_WORKORDERNO, new ColumnInfo(C_WORKORDERNO, "", false, typeof(String)));

_current.Add(C_ISFINISH, new ColumnInfo(C_ISFINISH, "", false, typeof(String)));

}

public ColumnInfo ORDERDETAILID
{
get { return this[C_ORDERDETAILID]; }
}

public ColumnInfo ORDERID
{
get { return this[C_ORDERID]; }
}

public ColumnInfo ORDERNUM
{
get { return this[C_ORDERNUM]; }
}

public ColumnInfo PRODUCTID
{
get { return this[C_PRODUCTID]; }
}

public ColumnInfo CUSTOMERPARTNO
{
get { return this[C_CUSTOMERPARTNO]; }
}

public ColumnInfo NUMS
{
get { return this[C_NUMS]; }
}

public ColumnInfo PRICE
{
get { return this[C_PRICE]; }
}

public ColumnInfo RMBPRICE
{
get { return this[C_RMBPRICE]; }
}

public ColumnInfo AMOUNT
{
get { return this[C_AMOUNT]; }
}

public ColumnInfo TAXAMOUNT
{
get { return this[C_TAXAMOUNT]; }
}

public ColumnInfo WORKORDERNO
{
get { return this[C_WORKORDERNO]; }
}

public ColumnInfo ISFINISH
{
get { return this[C_ISFINISH]; }
}

}
}